package com.haifeng.lyw.jinganghc;

import android.app.Application;
import android.content.Context;
import android.content.res.AssetFileDescriptor;
import android.media.AudioManager;
import android.media.MediaPlayer;

import com.haifeng.lyw.jinganghc.dao.GreenDaoManager;

import java.io.IOException;


/**
 * Created by lyw on 2017-10-30.
 */

public class MyApplication extends Application{
    private static Context context;

    @Override
    public void onCreate() {
        super.onCreate();
        context = getApplicationContext();
        GreenDaoManager.getInstance();


    }
    public static Context getContext() {
        return context;
    }

}
